﻿namespace ciji.Core
{
    public class ClaimConst
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public const string UserId = "UserId";

        /// <summary>
        /// 账号
        /// </summary>
        public const string Account = "Account";

        /// <summary>
        /// 名称
        /// </summary>
        public const string Name = "Name";
        /// <summary>
        /// 名称
        /// </summary>
        public const string Auth = "Auth";
        

        /// <summary>
        /// 类型
        /// </summary>
        public const string UserType = "UserType";
        /// <summary>
        /// 县区Id
        /// </summary>
        public const string UserAreaId = "UserAreaId";
        /// <summary>
        /// 公司Id
        /// </summary>
        public const string UserCompnayId = "UserCompnayId";

        /// <summary>
        /// 公司Id
        /// </summary>
        public const string UserOrganizationId = "UserOrganizationId";
        /// <summary>
        /// 租户Id
        /// </summary>
        public const string TenantId = "TenantId";

        /// <summary>
        ///  
        /// </summary>
        public const string Timestamp = "Timestamp";

        //修改日志排除字段
        public static string[] AuditExclude = {
             nameof(DEntityBase.Id)
            ,nameof(DEntityBase.sys_Creater)
            ,nameof(DEntityBase.sys_CreaterName)
            ,nameof(DEntityBase.sys_CreateDate)
            ,nameof(DEntityBase.sys_Modifier)
            ,nameof(DEntityBase.sys_ModifierName)
            ,nameof(DEntityBase.sys_ModifyDate)
        };
    }
}